package com.tgpms.web.earlierStage.dao;

import org.apache.ibatis.annotations.Param;

import com.tgpms.web.earlierStage.entity.DisputeItems;

/**
* 表DISPUTE_ITEMS -> null 的基本功能实现
*
* @author DESKTOP-I3TG0H3
* @createDate 2019/12/02
*/
public interface DisputeItemsMapper {
    /**
     * null  deleteByPrimaryKey 实现
     * 
     * @param id
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    int deleteByPrimaryKey(String id);

    /**
     * null  insert 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    int insert(DisputeItems record);

    /**
     * null  insertSelective 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    int insertSelective(DisputeItems record);

    /**
     * null  selectByPrimaryKey 实现
     * 
     * @param id
     * @return null com.tgpms.web.earlierStage.entity.DisputeItems
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    DisputeItems selectByPrimaryKey(String id);

    /**
     * null  updateByPrimaryKeySelective 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    int updateByPrimaryKeySelective(DisputeItems record);

    /**
     * null  updateByPrimaryKey 实现
     * 
     * @param record
     * @return null int
     * @author: DESKTOP-I3TG0H3
     * @createDate: 2019-12-02 09:09:53
     */
    int updateByPrimaryKey(DisputeItems record);
    
    //通过唯一键查询
    DisputeItems selByUniqueKey(@Param("taskId")String taskId,@Param("disputeId")String disputeId);
}